import request from '@/utils/request'
const BASE_URL = '/well/alignment'

export function createOne(data){
  return request({
    url: BASE_URL,
    method: 'post',
    data: data
  })
}
/**
 * @deprecated 查询扶正器列表
 * @param {*} query 
 * @returns 
 */
export function queryList(query) {
  return request({
    url: BASE_URL,
    method: 'get',
    params: query
  })
}
// 删除部门
export function deleteOne(id) {
  return request({
    url: BASE_URL +'/'+ id,
    method: 'delete'
  })
}
// 修改部门
export function updateOne(data) {
  return request({
    url: BASE_URL,
    method: 'put',
    data: data
  })
}